package com.study.app.hr.controller;

import com.study.app.hr.service.IHrHomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author sjw
 * @className HomeController
 * @date 2021/4/7 8:41
 * @description: TODO
 */
@RestController
@RequestMapping("/hr/home")
public class HrHomeController {
    @Autowired
    private IHrHomeService hrHomeService;
    @GetMapping("/hello")
    public String hello(){
        return hrHomeService.hello();
    }
}
